import request from "@/utils/request";
import {AesMain} from "@/utils/AesHmacMD5"

// 根据项目ID查询所有文件数据并转化为字典格式
export function listType_file(query) {
    return request({
        url: "/admin/visualization/file/process/",
        method: "post",
        data: AesMain(query)
    });
}

// 钻井工作量（结算口径）
export function listType_wellDrilling(query) {
    return request({
        url: "/admin/visualization/well/drilling/",
        method: "post",
        data: AesMain(query)
    });
}

// 试油工作量（结算口径）
export function listType_oilTesting(query) {
    return request({
        url: "/admin/visualization/oil/testing/",
        method: "post",
        data: AesMain(query)
    });
}

// 投资完成情况（亿元）
export function listType_investSummary(query) {
    return request({
        url: "/admin/visualization/invest/summary/",
        method: "post",
        data: AesMain(query)
    });
}

// =================================================================
// =================================================================
// =================================================================

// 钻井工作量（结算口径）
export function draw_wellDrilling(query) {
    return request({
        url: "/admin/visualization/draw/wellDrilling/",
        method: "post",
        data: AesMain(query)
    });
}

// 试油工作量（结算口径）
export function draw_oilTesting(query) {
    return request({
        url: "/admin/visualization/draw/oilTesting/",
        method: "post",
        data: AesMain(query)
    });
}

// 投资完成情况（亿元）
export function draw_invest(query) {
    return request({
        url: "/admin/visualization/draw/invest/",
        method: "post",
        data: AesMain(query)
    });
}